\subsection{Use case diagrams}
\label{usecaseAndroid}


The actor, association and use case definitions, are explained in \emph{Appendix \ref{useCaseDiagramsDefinition}}, so 
they are not going to be explained in this section. In Android we have one actor:

\begin{itemize}
  \item \textbf{Mobile user}. This actor will use the mobile application.
\end{itemize}


\subsubsection{Use cases description}

Here we quote the different use cases that have been identified for the Android Application:
\begin{itemize}
  \item Login:  The user logs in the system. 
  \item Register:  A new user wants to use our system, he enters his personal data in the application and the system stores it.
  \item View personal data:  The user can view his personal data.
  \item Modify personal data:  The user modifies his personal data.
  \item View position:  The system displays the user's position on a map.
  \item View notes and photos: The user chooses a group of photos and photos and goes to a gallery so as to watch them. 
  \item View friends position: The system displays a map with the position of the user's friends.
  \item Update position: The system updates the user's position.
  \item Create a note: The user creates a note and the system stores the note with his position.
  \item Take a photo: The user takes a photo.
  \item Search a friend: The user searches a user in the database by name, surname, country or nick.
  \item Request for friend: A user sends a request for friend to another user.
  \item View friend requests:  The system displays a list of friend requests that the user has.
  \item Accept a friend: The user selects a user from a list and the system stores the friendship between them.
  \item Reject a friend: The user rejects the request for friend.
\end{itemize}

The user can find an extended guide of these use cases in \emph{Appendix \ref{androidUseCasesDescription}}.

\clearpage
\subsubsection{Use case diagram}
\label{usecaseDiagramAndroid}
The use case diagrams allow us to show graphically the actors, use cases and the association between them. 

\begin{center}
\begin{figure}[ht]
\includegraphics[width=1\textwidth ]{./Android/Analysis/images/UseCaseDiagram.png} 
\caption{Use case diagram}
\end{figure}
\end{center}
